package com.liuweiheng.cloudproviderpayment8002.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 实体类：权限
 *
 * @author lwh
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel("权限实体类")
public class Permission implements Serializable {

    @ApiModelProperty("主键id")
    private Integer id;

    @ApiModelProperty("权限名称")
    private String name;

    @ApiModelProperty("路由")
    private String url;

}
